package sy.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TestcaseStep entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "testcase_step", catalog = "sy")
public class TestcaseStep implements java.io.Serializable {

	// Fields

	private String id;
	private String caseid;
	private String seq;
	private String keyword;
	private String action;
	private String params;

	// Constructors

	/** default constructor */
	public TestcaseStep() {
	}

	/** minimal constructor */
	public TestcaseStep(String id, String caseid, String seq, String keyword,
			String action) {
		this.id = id;
		this.caseid = caseid;
		this.seq = seq;
		this.keyword = keyword;
		this.action = action;
	}

	/** full constructor */
	public TestcaseStep(String id, String caseid, String seq, String keyword,
			String action, String params) {
		this.id = id;
		this.caseid = caseid;
		this.seq = seq;
		this.keyword = keyword;
		this.action = action;
		this.params = params;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "CASEID", nullable = false, length = 36)
	public String getCaseid() {
		return this.caseid;
	}

	public void setCaseid(String caseid) {
		this.caseid = caseid;
	}

	@Column(name = "SEQ", nullable = false, length = 2)
	public String getSeq() {
		return this.seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}

	@Column(name = "KEYWORD", nullable = false, length = 4)
	public String getKeyword() {
		return this.keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	@Column(name = "ACTION", nullable = false, length = 100)
	public String getAction() {
		return this.action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	@Column(name = "PARAMS", length = 200)
	public String getParams() {
		return this.params;
	}

	public void setParams(String params) {
		this.params = params;
	}

}